package com.bsj.travel.mapper.mysql;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.bsj.travel.def.common.DO.UserProductDO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/***
 * @description UserProductMapper
 * @author LiJiaXin
 * @version 1.0.0
 * @time 2024/1/17 15:54
 **/
@Repository
@DS("master")
public interface UserProductMapper extends BaseMapper<UserProductDO> {

    /**
     * 批量添加绑定关系
     *
     * @param userProductDOS
     * @return void
     * @author ljx
     * @time 2024/2/20 11:10
     */
    void batchAddUserProduct(@Param("userProductDOS") List<UserProductDO> userProductDOS);
}
